import request from '@/utils/request'

export function getTagList(params) {
    return request({
        url: '/mogu-admin/tag/getList',
        method: 'post',
        data: params
    })
}

// 置顶
export function stickTag(params) {
    return request({
        url: '/mogu-admin/tag/stickTag',
        method: 'post',
        data: params
    })

}

// 引用量排序
export function tagSortByCite() {
    return request({
        url: '/mogu-admin/tag/tagSortByCite',
        method: 'post'
    })
}

// 编辑标签
export function editTag(params) {
    return request({
        url: '/mogu-admin/tag/edit',
        method: 'post',
        data: params
    })
}